﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace HPCERP.WebSite.Areas.CRM
{
    public class Routes : AreaRegistration
    {
        public override string AreaName
        {
            get { return "CRM"; }
        }

        public override void RegisterArea(AreaRegistrationContext context)
        {
            context.MapRoute(
                "CRM_Default",                                   // Route name
                "CRM/{controller}/{action}/{id}",                // URL with parameters
                new { controller = "Home", action = "Index", id = "" },  // Parameter defaults
                 null,
                new string[] {"CRM"}
             );
        }
    }
}